<template>
	<view>
		<top-tabtar tabTitle="专题区"  @backClick="backClick" backColor="#5B2177" :back="false"/>
		<!-- <view class="header-title" :style="{paddingTop:statuHeight+'px'}">专题区</view> -->
		<view class="img-list-box">
			<view class="logo-name">
				<view class="logo-back"></view>
				<view class="titel">邀请好友</view>
			</view>
			<view class="theme-imng-box" @click='inviteFriend'>
				<image src="/static/collection/invite.jpeg" class="img" mode="aspectFill"></image>
			</view>
		</view>
		<tabber :tabIndex="3"></tabber>
	</view>
</template>

<script>
	import tabber from '@/components/tabbar.vue'
	import topTabtar from '@/components/top-tabbar.vue'
	export default {
		components:{tabber,topTabtar},
		data() {
			return {
	
			};
		},
		onShow() {
		
		},
		methods:{
			inviteFriend() {
				uni.navigateTo({
					url: '/pages/collection/collec_detail'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.header-title{
		padding-bottom: 20rpx;
		background-color: #5B2177;
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #FFFFFF;
		text-align: center;
	}
	.img-list-box{
		padding: 37rpx 31rpx 0 31rpx;
		.logo-name{
			display: flex;
			align-items: center;
			margin-bottom: 20rpx;
			.logo-back{
				width: 4rpx;
				height: 36rpx;
				background: #B73DF0;
			}
			.titel{
				font-size: 28rpx;
				font-weight: 500;
				margin-left: 26rpx;
			}
		}
		.theme-imng-box{
			wwidth: 687rpx;
			height: 267rpx;
			border-radius: 10rpx;
			margin-bottom: 45rpx;
			position: relative;
			.img{
				width: 100%;
				height: 100%;
				border-radius: 10rpx;
			}
		}
	}
	
</style>
